package com.cn.hotel.service;

import com.cn.hotel.model.HomeThreeShowModel;
import com.cn.hotel.model.RoomModel;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IRoomService {
    int add(RoomModel roomModel);

    List<RoomModel> findAll(RoomModel roomModel);

    int getCount(RoomModel roomModel);

    RoomModel findByRoomId(Integer aa);

    int delete(Integer temp);

    int edit(RoomModel roomModel);

    List<HomeThreeShowModel> homeFindAll(HomeThreeShowModel model);

    int getNumber(HomeThreeShowModel model);
//---------------------前端实现👇👇👇👇👇👇👇👇👇👇-----------------------
//    List<RoomModel> getRoomModel();

    /**
     * 网站首页调取房间图片
     * @return
     */
    List<RoomModel> getRoomModelList();

    List<RoomModel> getAppointRoomModel(Map<String,Integer> map);

    List<HomeThreeShowModel> getThree();


    List<RoomModel> find(Integer temp);

    int getTotal(Integer temp);

    /**
     * 首页三张
     * @param model
     * @return
     */
    int homeAdd(HomeThreeShowModel model);

    int homeEdit(HomeThreeShowModel model);

    int homeDelete(Integer temp);

    HomeThreeShowModel homeFindById(Integer aa);
}
